package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingPlan;
import com.zzyl.vo.NursingPlanVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Description NursingPlanMapper
 * @Author loe
 * @Date 2024-07-08
 */

@Mapper
public interface NursingPlanMapper {

    List<NursingPlanVo> searchAll();

    void insert(NursingPlan nur);

    Page<NursingPlanVo> limitSearch(String name, Integer status);

    NursingPlanVo getById(Integer id);

    void update(NursingPlan nursingPlan);

    void delete(Long id);

    void setStatus(Long id, Integer status);
}
